package com.leezw.springbootinit.model.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.sql.Time;
import java.util.Date;

@NoArgsConstructor
@AllArgsConstructor
@Data

@TableName(value = "flow")
public class Flow {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private String salesPersonNumber;


    private String serialNumber;


    private String category;


    private Date date;


    private String cashierNumber;


    private String staffName;


    private String productName;


    private String productNumber;

    private String productSpecification;

    private String unit;

    private String origin;

    private Date machineDate;

    private Time time;

    private Integer quantity;

    private BigDecimal retailPrice;

    private String batchNumber;

    private Date expiryDate;

    private BigDecimal costPrice;

    private BigDecimal receivableAmount;

    private BigDecimal netRevenue;

    private Integer stockQuantity;

    private String customerCode;

    private Date updateTime;


    @TableLogic
    private Integer isDelete;



}
